package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Table;

/**
 * Created by ShenYiChou on 2017/1/17.
 */
@Data
@Table(name = "t_honor")
public class Honor extends BaseEntity{
    @NotEmpty(message = "证件不能为空")
    private String id_num;
    @NotEmpty(message = "姓名不能为空")
    private String name;
    @NotEmpty(message = "证书号不能为空")
    private String ca_num;
    @NotEmpty(message = "时间不能为空")
    private String date;
    @NotEmpty(message = "机构不能为空")
    private String org_name;
    @NotEmpty(message = "嘉奖名称不能为空")
    private String honor;
}
